package com.hxgis.statisticanalysis.intelligentIndicator.dao.jpa;

import com.hxgis.statisticanalysis.intelligentIndicator.pojo.ModernIndex;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ModernIndexJpa extends JpaRepository<ModernIndex, Long> {
    @Query
    ModernIndex findByDateTime(String dataTime);

    @Query
    List<ModernIndex> findByDateTimeIn(String[] dataTime);


}